package com.zzx.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zzx.mapper.BookMapper;
import com.zzx.model.Book;
import com.zzx.service.BookService;

@Service
public class BookServiceImpl implements BookService {

	@Resource
	private BookMapper bookMapper;
	
	@Override
	public Book findAll() throws Exception{
		return bookMapper.findAll();
		}
}
